
    <div class="container-fluid">
        <div class="row-fluid container_bg">
		   <div ng-include="'side-menu.html'"></div>
			<div class="span9">
				<div class="container_title">
					<div class="pos_r"><h1>user notifications</h1><a href="#/shop-notifications-history" style= "position:absolute;top:5px;right:10px;">History</a>
					</div>
					<div>{{ emptyNotifications }}</div>
					<div>
						<table class="table table-bordered">
							<tr class="table_th_bg">
								<th>Date</th>
								<th>Notification</th>
								<th>Type</th>
								<th>Action</th>
							</tr>
							<tr ng-repeat="n in notis">
								<td>{{ n.added_date }}</td>
								<td ng-if='n.type == "Register" '>Admin {{ n.type }} By Your RenewalOrder</td>
								<td ng-if='n.type == "Complaint" '>{{ n.type }} By Your Order Tracking Id {{ n.order_id }}</td>
								<td ng-if='n.type == "ReviewRating" '>Post A {{ n.type }} By Your Order Tracking Id {{ n.order_id }}</td>
								<td ng-if='n.type == "sendQuotation" '>Admin {{ n.type }} By Your Order Tracking Id {{ n.order_id }}</td>
								<td ng-if='n.type == "Confirmed" && n.status==2'>Admin Confirmaed By Order Tracking Id {{ n.order_id }}</td>
								<td ng-if='n.type == "Discount" '>Admin Recived {{ n.type }} By Your Order Tracking Id {{ n.order_id }}</td>
								<td ng-if='n.type == "Block" '>Admin {{ n.type }} Your Account</td>
								<td ng-if='n.type == "Active" '>Admin {{ n.type }} Your Account</td>
								<td>{{ n.type }}</td>
								<td ng-if='n.type == "Register"'>NONE</td>
								<td ng-if='n.type == "Complaint"'><a href="javascript:void(0)" ng-click="viewComplaintNotifications(n.notifications_id,5,n.user_type_id)">VIEW</a></td>
								<td ng-if='n.type == "ReviewRating"'><a href="javascript:void(0)" ng-click="viewReviwNotifications( n.notifications_id,6,n.user_type_id)">VIEW</a></td>
								<td ng-if='n.type == "sendQuotation"'><a href="javascript:void(0)" ng-click="viewSendQuotationNotifications(n.shop_id,10,n.user_type_id)">VIEW</a></td>
								<td ng-if='n.type == "Confirmed" && n.status==2'><a href="javascript:void(0)" ng-click="viewConfirmedNotifications(n.shop_id,12,n.user_type_id)">VIEW</a></td>
								<td ng-if='n.type == "Discount"'><a href="javascript:void(0)" ng-click="viewDiscountNotifications(n.notifications_id,13,n.user_type_id)">VIEW</a></td>
								<td ng-if='n.type == "Block"'>VIEW</td>
								<td ng-if='n.type == "Active"'>VIEW</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
        </div>
    </div>

